home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / maxexponent.z / maxexponent
Encoding:
Text File  |  1998-10-30  |  2.3 KB  |  71 lines

  1. MAXEXPONENT(3I)                                        Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      MMAAXXEEXXPPOONNEENNTT - Returns the maximum exponent in the numeric model
  6.  
  7. SSYYNNOOPPSSIISS
  8.      MMAAXXEEXXPPOONNEENNTT (([XX==]_x))
  9.  
  10. IIMMPPLLEEMMEENNTTAATTIIOONN
  11.      UNICOS, UNICOS/mk, and IRIX systems
  12.  
  13. SSTTAANNDDAARRDDSS
  14.      Fortran 90
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      The MMAAXXEEXXPPOONNEENNTT intrinsic function returns the maximum exponent in the
  18.      real number model.  For more information on the real number model, see
  19.      the MMOODDEELLSS(3I) man page.  It accepts the following argument:
  20.  
  21.      _x    Must be of type real.  It may be scalar or array valued.
  22.  
  23.      MMAAXXEEXXPPOONNEENNTT is an inquiry function.  The name of this intrinsic cannot
  24.      be passed as an argument.
  25.  
  26. RREETTUURRNN VVAALLUUEESS
  27.      The result is a default integer scalar.  The result has the value
  28.      _e   ,
  29.       max
  30.      as defined in the model, which represents numbers of the same type and
  31.      kind type parameter as _x.
  32.  
  33. EEXXAAMMPPLLEESS
  34.      On UNICOS systems, excluding CRAY T90 systems that support IEEE
  35.      floating-point arithmetic, MMAAXXEEXXPPOONNEENNTT((XX)) has the value 8189 for real
  36.      XX.
  37.  
  38.      On IRIX systems, MMAAXXEEXXPPOONNEENNTT((XX)) returns the following values:
  39.  
  40.      * 128 for real XX
  41.  
  42.      * 128 for real ((KKIINNDD==44)) XX
  43.  
  44.      * 1023 for real ((KKIINNDD==88)) XX
  45.  
  46.      On UNICOS/mk systems, MMAAXXEEXXPPOONNEENNTT((XX)) returns the following values:
  47.  
  48.      * 1024 for real XX
  49.  
  50.      * 128 for real ((KKIINNDD==44)) XX
  51.  
  52.      * 1024 for real ((KKIINNDD==88)) XX
  53.  
  54.      On CRAY T90 systems that support IEEE floating-point arithmetic,
  55.      MMAAXXEEXXPPOONNEENNTT((XX)) returns the following values:
  56.  
  57.      * 1024 for real XX
  58.  
  59.      * 128 for real ((KKIINNDD==44)) XX
  60.  
  61.      * 1024 for real ((KKIINNDD==88)) XX
  62.  
  63.      * 16384 for real (KKIINNDD==1166)) XX
  64.  
  65. SSEEEE AALLSSOO
  66.      MMOODDEELLSS(3I)
  67.  
  68.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  69.      printed version of this man page.
  70.  
  71.